﻿using System;
using SharepointCommon.Attributes;
using Uportal.Shp.Core.Enums;
using SharepointCommon;

namespace Uportal.Shp.Core.Model
{
    public class FeedbackToManagmentItem : Item
    {
        public const string ListInnerName = "FeedbackToManagment";
        public const string ListTitle = "Обратная связь";
        public const string ListUrl = "/Lists/" + ListInnerName;

        [Field(DisplayName = "Вопрос")]
        public virtual string Question { get; set; } 
        
        [Field(DisplayName = "Ответ")]
        public virtual string Answer { get; set; } 

        public virtual TypeQuestion TypeOfQuestion { get; set; } 

        public virtual StateQuestion StateOfQuestion { get; set; } 

        [Field(DisplayName = "Дата ответа")]
        public virtual DateTime DateOfAnswer { get; set; } 

    }
}